package com.dazhao.animejaphome.home.animeResMVP;

import java.util.ArrayList;

/**
 * Created by zhao on 2017/12/25.
 */

public interface MVP_Contract {

    interface Model{
        ArrayList<String> getData();
        void deleteLocal(int position);
        void setOnDeleteLocalEvent();
        void resetData();
    }

    interface View{
        void setAdapter(ArrayList<String> data);
        void setDeleteCallBack();
        void resetView();
    }

    interface Presenter{
        void detach();
        void initItems();
        void setDeleteFunction();
        void resetDataView();
    }
}
